<%@ page contentType="text/html;charset=utf-8" pageEncoding="utf-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://www.sakaiproject.org/samigo" prefix="samigo" %>
<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<!-- $Id$
<%--
***********************************************************************************
*
* Copyright (c) 2004, 2005, 2006 The Sakai Foundation.
*
* Licensed under the Educational Community License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*      http://www.osedu.org/licenses/ECL-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License. 
*
**********************************************************************************/
--%>
-->
  <f:view>
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
      <head><%= request.getAttribute("html.head") %>
      <title><h:outputText value="#{questionPoolMessages.copy_q}"/></title>
      </head>
      <body onload="<%= request.getAttribute("html.body.onload") %>">
<!-- content... -->
<div class="portletBody">
<div class="heading"><h:outputText value="#{questionPoolMessages.copy_q}"/></div>

<h2><h:outputText value="#{questionPoolMessages.q_text}"/>:</h2>
<br>
<logic:iterate id="qpool" collection='<%=session.getAttribute("selectedItems")%>'>
<bean:write name="qpool" property="itemText" />
<br>
</logic:iterate>

<h:panelGrid columns="2" >

<h:outputText styleClass="number" value="1"/>
<h:outputText value="#{questionPoolMessages.copy_q_to}"/>

<h:outputText value=""/>

<h:outputText styleClass="number" value="2"/>
<h:outputText value="#{questionPoolMessages.click_copy}"/>

</h:panelGrid>
  <center>
  <h:commandButton type="submit" id="Submit" value="#{questionPoolMessages.save}"
    action="editPool"/>
  <h:commandButton type="cancel" id="Cancel" value="#{commonMessages.cancel_action}"
    action="cancelEditPool"/>

  </center>
</div>
</body>
</html>
</f:view>
